package com.qtz.demo.mapper;

import com.qtz.demo.bean.Question;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface QuestionMapper {
    public boolean addQuestion(Question question);

    public List<Map> showQA(String oid);

    public List<Question> showUndoQuestion(String oid);

    public boolean dealQuestion(String qid);
}
